Remove
Description
Call Remove
to remove a specific item from the Items
array when its index is unknown. The value returned is the index of the item in the Items
array before it was removed. After an item is removed, all the items that follow it are moved up in index position and the Count
is reduced by one.
If the Items
array contains more than one copy of the pointer, only the first copy is deleted.
Syntax
function Remove(const Item: Pointer): Integer;